using NHibernate;
using TelerikMvcGridCustomBindingHelper.Aggregates;

namespace TelerikMvcGridCustomBindingHelper.NHibernate.Aggregates
{
    internal class CustomAggregatesContainer : AggregatesContainer
    {
        public string Property { get; private set; }
        public IFutureValue<object> FutureValue { get; private set; }
        public AggregateMethod AggregateMethod { get; private set; }

        public CustomAggregatesContainer(string property, IFutureValue<object> futureValue, AggregateMethod aggregateMethod)
        {
            Property = property;
            FutureValue = futureValue;
            AggregateMethod = aggregateMethod;
        }
    }
}